/**
 * 
 */
package com.efast.dmom.mes.bean;

import com.efast.dmom.mes.bean.base.RuntimeBaseBean;
import com.efast.dmom.mes.bean.base.Trackable;
import com.efast.dmom.mes.entity.UnitEntity;

/**
 * @author Aaron Liu
 *
 *         2020年4月1日
 */
public class Unit extends RuntimeBaseBean<UnitEntity> implements Trackable {

	private static final long serialVersionUID = 2859724316381355168L;

	private UnitEntity innerData = null;

	public UnitEntity getInnerData() {
		return innerData;
	}

	public void setInnerData(UnitEntity innerData) {
		this.innerData = innerData;
	}

	@Override
	public boolean validateTransaction(Trackable obj, String transactionName) {

		if (!(obj instanceof Unit)) {
			return false;
		}

		return true;
	}

}
